﻿// onwer 蒋家伟

#pragma once
#include "IDeviceEventArgs.h"

namespace jsdk
{
    class DeviceEventArgs : public IDeviceEventArgs
    {
    public:
        DeviceEventType getEventType() const { return m_eventType; };
        void setEventType(DeviceEventType eventType) { m_eventType = eventType; }
        DeviceEventArgs(const DeviceEventType& eventType) : m_eventType(eventType) {}
    private:
        DeviceEventType m_eventType = DeviceEventType::Undefined;
    };
}